package com.hryt.firstandroid;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;

public class SingleTaskActivity extends AppCompatActivity {

    private Button mBtnStartTmp;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_single_task);

        mBtnStartTmp = findViewById(R.id.btn_start_tmp);
        mBtnStartTmp.setOnClickListener(view -> {
            Intent intent = new Intent(SingleTaskActivity.this, TmpActivity.class);
            startActivity(intent);
        });
    }
}